package etnorservice.etnor_service.domain;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2025/03/19/20:41
 **/
@Data
public class DeployConfig {
    private RepoConfig backend;
    private RepoConfig frontend;
    private String env;
    private DeployOptions options;

    @Data
    public static class RepoConfig {
        private String repo;
        private String branch;
        private String path;
        private GitAuthConfig auth;
    }

    @Data
    public static class DeployOptions {
        private boolean autoRestart;
        private boolean backupBefore;
    }
}